//---------------------------------------------------------------------------

#ifndef EdvH
#define EdvH
#include "vcl.h"
typedef double TMasCoor[50];
typedef double TMasCoor[50];
typedef Set<char, 32, 132> TCharSet;
//---------------------------------------------------------------------------
AnsiString BoolToAS(bool b);
bool ASToBool(AnsiString s);
void GeomAvr(short int num, TMasCoor *MasX, TMasCoor *MasY , double AX, double AY);
double Frac(const double x);
long int factorial(int x);
double Fraction(double x);
double sqr(double x);
double eabs(double x);
AnsiString GetPath();
AnsiString GetBrParam(AnsiString Str, int i);
AnsiString ChangeExt(AnsiString FileName, AnsiString NewExt);
AnsiString NameFromPath(AnsiString FilePath);
int BrackPairI(int p, AnsiString Str, char b1, char b2);
int BrackPairD(int p, AnsiString Str, char b1, char b2);
double Power(double x, double n);
AnsiString RemoveDoubleBracks(AnsiString S, char b1, char b2);
AnsiString ImplyMultiplication(AnsiString S);
AnsiString ImplySqrt(AnsiString S);
bool CheckBracks(AnsiString S, char b1, char b2);
bool ExpressionError(AnsiString S);
#endif
